from libs.ZAnimate import ZAnimate
from libs.ZScene import ZScene
from libs.fun import cut_image , create_image_alpha


class TestScene ( ZScene ) :
    def __init__ ( self ) :
        super ( TestScene , self ).__init__ ( )
        master = cut_image ( create_image_alpha ( "assets/image/char/sd.png" ) , 40 , 108 )
        image_list = [ master [ 0 ] , master [ 1 ] , master [ 2 ] , master [ 3 ] ]
        self.add ( ZAnimate ( self , image_list , .1 , 0 ) )
